<?php if (!defined('THINK_PATH')) exit();?><div class="page">
	<div class="pageContent">

	<form method="post" action="/stweb/index.php?s=/Admin/Article/update/navTabId/Article" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="<?php echo ($vo["id"]); ?>" >
		<div class="pageFormContent" layoutH="58">
			 <div class="unit">
				<label>请选择分类：</label>
				<select name="class_id" class="required combox" >
					<option value="">请选择</option>
					<?php if(is_array($cate)): $i = 0; $__LIST__ = $cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vocate): $mod = ($i % 2 );++$i;?><option value="<?php echo ($key); ?>" <?php if(($vo["class_id"]) == $key): ?>selected=selected<?php endif; ?>><?php echo ($vocate); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
				</select>
			</div>
			<div class="unit">
				<label>标题：</label>
				<input type="text" class="required" value="<?php echo ($vo["title"]); ?>"  name="title" id="title">
			</div>
            <div class="unit">
				<label>排序：</label>
				<input type="text" class="required"  name="sort" id="sort" value="<?php echo ($vo["sort"]); ?>" size="5" />
			</div>
           
          <div class="unit">
			<label>内容：</label>
			  <textarea name="content" editor="<?php echo ($vo["editor_id"]); ?>" cols="80" rows="10"><?php echo ($vo["content"]); ?></textarea>
			</div>

		</div>

		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
	</div>
</div>